#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File   : b_object_program_custom.py
# @Email  : xuexia_xu@feidee.com
# @Time   : 2024/3/29 10:25
# @Desc   : 定制类

class Student:
    def __init__(self, name):
        self.name = name

    def __str__(self):
        return 'Student object (name: %s)' % self.name

    def __repr__(self):
        return 'repr Student object (name: %s)' % self.name


if __name__ == '__main__':
    s = Student('Amy')
    print(s)
